home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 2.1 KB | 85 lines | [TEXT/MPS ] |
- //# Copyright: © 1993 - 1996 by Apple Computer, Inc., all rights reserved.
-
- #ifndef _ODBINDNG_
- #define _ODBINDNG_
-
- #ifndef _ODOBJECT_
- #include "ODObject.idl"
- #endif
-
- //=====================================================================================
- // Classes defined in this interface
- //=====================================================================================
- interface ODBinding;
-
- //=====================================================================================
- // Classes used by this interface
- //=====================================================================================
- interface ODSession;
- interface ODStorageUnit;
- interface ODPart;
- interface ODTypeList;
- interface ODNameSpaceManager;
- interface ODByteArray;
-
-
- //=====================================================================================
- // ODBinding
- //=====================================================================================
-
- interface ODBinding : ODObject
- {
- ODEditor ChooseEditorForPart (in ODStorageUnit thePartSU, in ODType newKind );
- ODContainerSuite GetContainerSuite (in ODContainerType containerType);
-
- #ifdef _PLATFORM_MACINTOSH_
- ODBoolean GetUserStringForKind (in ODKind kind , out ODName name);
- ODBoolean GetUserStringForEditor (in ODEditor editor , out ODName name);
- ODBoolean GetUserStringForCategory (in ODCategory category , out ODName name);
- //# these methods retrieve the user visible strings for Kind, Editor, or Category types.
-
- ODBoolean GetODFileSpecFromEditor(in ODEditor editor, out ODByteArray fileSpec);
- //# returns an ODFileSpec in a ByteArray
-
- #endif //#_PLATFORM_MACINTOSH_
-
- #ifdef __SOMIDL__
- implementation
- {
- majorversion = 2; minorversion = 0;
-
- functionprefix = ODBinding;
-
- override:
- somUninit,
- Purge;
-
- releaseorder:
- ChooseEditorForPart,
- GetContainerSuite,
- reserved1,
- reserved2,
-
- GetUserStringForKind,
- GetUserStringForEditor,
- GetUserStringForCategory,
- GetODFileSpecFromEditor,
-
- reserved3,
- reserved4,
- reserved5,
- reserved6,
- reserved7,
- reserved8,
- reserved9,
- reserved10,
- reserved11,
- reserved12,
- reserved13;
-
- };
- #endif //# __SOMIDL__
- };
-
- #endif // _ODBINDNG_
-